/*
** my_display_list.c for my_display_list in /home/nadali_t//local/re-piscine/jour_04/PM/ex_05
** 
** Made by thomas nadalie
** Login   <nadali_t@epitech.net>
** 
** Started on  Thu Dec 15 17:11:41 2011 thomas nadalie
** Last update Thu Jan  5 16:40:17 2012 thomas nadalie
*/

#include	<stdlib.h>
#include	<push_swap.h>

void		my_display_list(int *l_a, int ac)
{
  int	i;

  i = 0;
  while (l_a[i] != ac)
    {
      my_put_nbr(l_a[i]);
      my_putchar('\n');
    }
}
